// index.js

// es5 require
// let beijingit = require('@beijingit-cn/hello');
// console.log("require", beijingit.greet('beijingit.cn'))

// es5 require
// const { greet } = require('@beijingit-cn/hello');
// console.log("greet", greet('beijingit.cn'))

// es6 module
import beijingit from '@beijingit-cn/hello'
console.log("import", beijingit.greet('beijingit.cn'))

// es6 module
import { greet } from '@beijingit-cn/hello'
console.log("import", greet('beijingit.cn'))

// node index.js
